package com.wan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author sf
 * @since 2025-01-11
 */
@Getter
@Setter
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String ename;

    private String email;

    private String phoneNumber;

    private LocalDate hireDate;

    private Integer departmentId;
    @TableField(exist = false)
    private String departmentName;
}
